Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
# Courtesy of: https://stackoverflow.com/a/11974399 | |
{%- for item in items %} | |
[ | |
"{{item}}"{{ "," if not loop.last }} | |
] | |
{%- endfor %} |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
let appearance = UITabBarItem.appearance() | |
let attributes = [NSFontAttributeName: UIFont(name: "American Typewriter", size: 20), | |
NSForegroundColorAttributeName: UIColor.white] | |
appearance.setTitleTextAttributes(attributes, for: .normal) |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of
# libraries | |
import os | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import textwrap | |
# load the data | |
df = pd.read_csv(os.path.join('..', 'data', 'quest.csv')) | |
# Some questions are rather long. To nicely display them in the figure they need to be wrapped. |
[mergetool "sops-mergetool"] | |
cmd = ./sops-mergetool.sh "$BASE" "$LOCAL" "$REMOTE" "$MERGED" |